package com.nimt.hqgl_idea.service;


import com.nimt.hqgl_idea.mapper.DishMapper;
import com.nimt.hqgl_idea.util.ResponseBody;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DishServiceImpl implements DishService {
    @Autowired
    DishMapper dishMapper;
    @Override
    public ResponseBody query() {
        return new ResponseBody(dishMapper.selectAll());
    }
}
